single table inheritance interview questions